summaryrefslogtreecommitdiff
path: root/apps/web/src/app/editor/[project_id]/layout.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-09-01 16:31:03 +0200
committerMaze Winther <mazewinther@gmail.com>2025-09-01 16:31:03 +0200
commite2bd8d1e093715da6d5d09b6dcbac6b68262f6ad (patch)
tree6ad18eaf50a44b949226453bb93843950686dc04 /apps/web/src/app/editor/[project_id]/layout.tsx
parent971f9d35d7e1053fad597a8ff9d81a5922fa9a0a (diff)
downloadopencut-e2bd8d1e093715da6d5d09b6dcbac6b68262f6ad.tar.gz
fix: don't pre-fetch sounds
Diffstat (limited to 'apps/web/src/app/editor/[project_id]/layout.tsx')
-rw-r--r--apps/web/src/app/editor/[project_id]/layout.tsx22
1 files changed, 9 insertions, 13 deletions
diff --git a/apps/web/src/app/editor/[project_id]/layout.tsx b/apps/web/src/app/editor/[project_id]/layout.tsx
index 151f7f94..c37e78b7 100644
--- a/apps/web/src/app/editor/[project_id]/layout.tsx
+++ b/apps/web/src/app/editor/[project_id]/layout.tsx
@@ -1,13 +1,9 @@
-"use client";
-
-import { useGlobalPrefetcher } from "@/components/providers/global-prefetcher";
-
-export default function EditorLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- useGlobalPrefetcher();
-
- return <div>{children}</div>;
-}
+"use client";
+
+export default function EditorLayout({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
+ return <div>{children}</div>;
+}